package com.duan.laugh.compute.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.duan.laugh.compute.pojo.entity.Compute;

import java.util.List;
import java.util.Map;

public interface ComputeService extends IService<Compute> {
    void test();

    boolean updateV1();

    Integer updateList(List<Compute> list);
    Integer updateListV1(List<Compute> list);

    Integer insertList(List<Compute> list);

    Integer insertListParallel(List<Compute> list);

    List<Compute> selectByIds(List<Long> ids);
    List<Map<String, Object>> selectMapByIds(List<Long> ids);

    List<Map<String, Object>> insertByV1(List<Long> ids);
}
